package com.mo.security.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.util.List;

@Data
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;

    // 权限列表
    private List<GrantedAuthority> authorities;
}
